# -*- coding:utf-8 -*-

"""
授信节点-风控规则
"""
from aw import *
from autotest import *


class Test_001(TestCase):
    def setUp(self):
        print("Test_001 setUp")


    def test(self):
        print("Test_001 test")
        t = Common.getRuleJson()
        print(t)

        Common.checkRule()
        Common.getConfigByStr("身份证命中银行短时逾期风险_时间")
        rules = Common.getRulesByResolveStr()
        Common.initializeOtherRule(rules,0)

        Common.getTestRules({'身份证命中P2P短时逾期风险_时间': ['A', 'B'], '身份证命中P2P短时逾期风险_状态': ['01', '99']})



    def tearDown(self):
        print("Test_001 tearDown")
